package com.weberror.frontendmonitoring.requestmonitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * http请求监控(Requestmonitor)表实体类
 *
 * @author cnxym
 * @since 2022-08-17 19:53:59
 */
@TableName(value = "requestmonitor")
public class Requestmonitor {

    @TableId(value = "requestmonitor_id", type= IdType.AUTO)
    private Integer requestmonitorId;
    //请求方法
    @TableField(value = "requestmonitor_method")
    private String requestmonitorMethod;
    //上报类型
    @TableField(value = "requestmonitor_type")
    private String requestmonitorType;
    //请求的url
    @TableField(value = "requestmonitor_url")
    private String requestmonitorUrl;
    //http请求状态码
    @TableField(value = "requestmonitor_status")
    private Long requestmonitorStatus;
    //请求是否成功
    @TableField(value = "requestmonitor_success")
    private String requestmonitorSuccess;
    //HTTP请求持续时长
    @TableField(value = "requestmonitor_duration")
    private Long requestmonitorDuration;
    //响应内容
    @TableField(value = "requestmonitor_response")
    private String requestmonitorResponse;
    //请求方式
    @TableField(value = "requestmonitor_requestype")
    private String requestmonitorRequestype;
    //最终请求的获得的类型
    @TableField(value = "requestmonitor_event")
    private String requestmonitorEvent;


    public Integer getRequestmonitorId() {
        return requestmonitorId;
    }

    public void setRequestmonitorId(Integer requestmonitorId) {
        this.requestmonitorId = requestmonitorId;
    }

    public String getRequestmonitorMethod() {
        return requestmonitorMethod;
    }

    public void setRequestmonitorMethod(String requestmonitorMethod) {
        this.requestmonitorMethod = requestmonitorMethod;
    }

    public String getRequestmonitorType() {
        return requestmonitorType;
    }

    public void setRequestmonitorType(String requestmonitorType) {
        this.requestmonitorType = requestmonitorType;
    }

    public String getRequestmonitorUrl() {
        return requestmonitorUrl;
    }

    public void setRequestmonitorUrl(String requestmonitorUrl) {
        this.requestmonitorUrl = requestmonitorUrl;
    }

    public Long getRequestmonitorStatus() {
        return requestmonitorStatus;
    }

    public void setRequestmonitorStatus(Long requestmonitorStatus) {
        this.requestmonitorStatus = requestmonitorStatus;
    }

    public String getRequestmonitorSuccess() {
        return requestmonitorSuccess;
    }

    public void setRequestmonitorSuccess(String requestmonitorSuccess) {
        this.requestmonitorSuccess = requestmonitorSuccess;
    }

    public Long getRequestmonitorDuration() {
        return requestmonitorDuration;
    }

    public void setRequestmonitorDuration(Long requestmonitorDuration) {
        this.requestmonitorDuration = requestmonitorDuration;
    }

    public String getRequestmonitorResponse() {
        return requestmonitorResponse;
    }

    public void setRequestmonitorResponse(String requestmonitorResponse) {
        this.requestmonitorResponse = requestmonitorResponse;
    }

    public String getRequestmonitorRequestype() {
        return requestmonitorRequestype;
    }

    public void setRequestmonitorRequestype(String requestmonitorRequestype) {
        this.requestmonitorRequestype = requestmonitorRequestype;
    }

    public String getRequestmonitorEvent() {
        return requestmonitorEvent;
    }

    public void setRequestmonitorEvent(String requestmonitorEvent) {
        this.requestmonitorEvent = requestmonitorEvent;
    }


}

